package com.example.amazlinglistview.domain;

import java.util.List;

public class DealerInfo {

	private String	id			= "";
	private String	priceId		= "";
	private String	name		= "";
	private String	fullName	= "";
	private String	title		= "";	// 优惠信息简介
	private String	url			= "";	// 优惠信息链接
	private String	type		= "";
	private String	price		= "";
	private String	address		= "";
	private String	telephone	= "";
	public String	longitude	= "";
	public String	latitude	= "";

	// 经销上距离用户所在的距离
	public Float	fDistance	= 0f;

	public void setFDistance(float fDistance) {
		this.fDistance = fDistance;
	}

	public float getFDistance() {
		return fDistance;
	}

	public String getDealerName() {
		return dealerName;
	}

	public void setDealerName(String dealerName) {
		this.dealerName = dealerName;
	}

	private String			dealerName	= "";
	private int				carNum		= 0;
	private int				permission	= 0;
	private List<DealerCar>	dealerCars;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPriceId() {
		return priceId;
	}

	public void setPriceId(String priceId) {
		this.priceId = priceId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public int getCarNum() {
		return carNum;
	}

	public void setCarNum(int carNum) {
		this.carNum = carNum;
	}

	public int getPermission() {
		return permission;
	}

	public void setPermission(int permission) {
		this.permission = permission;
	}

	public List<DealerCar> getDealerCars() {
		return dealerCars;
	}

	public void setDealerCars(List<DealerCar> dealerCars) {
		this.dealerCars = dealerCars;
	}

	@Override
	public String toString() {
		return "DealerInfo [id=" + id + ", priceId=" + priceId + ", name=" + name + ", fullName=" + fullName + ", title=" + title + ", url=" + url + ", type=" + type + ", price=" + price + ", address=" + address + ", telephone=" + telephone + ", longitude=" + longitude + ", latitude=" + latitude + ", carNum=" + carNum + ", permission=" + permission + ", dealerCars=" + dealerCars + "]";
	}

}
